
#ifndef INTERFACE_CONTAINER_H_
#define INTERFACE_CONTAINER_H_

#include "./net-request.h"
#include "./net-response.h"

namespace fasmio {

class IContainer
{
public:
    virtual ~IContainer() {}

public:
    virtual bool Initialize() = 0;
    virtual void Finalize() = 0;

    virtual bool PrepareRequest(INetRequest*) = 0;
    virtual bool ServeRequest(INetRequest*, INetResponse**) = 0;
};

}  // namespace fasmio

#endif  // INTERFACE_CONTAINER_H_

